package com.bzkj.basicinfo.service.ncc;


import com.bzkj.basicinfo.domain.ncc.dto.NccBasicDeptDto;
import com.bzkj.basicinfo.domain.ncc.NccBasicDept;
import com.bzkj.common.core.domain.AjaxResult;
import com.bzkj.common.core.domain.R;

import java.util.List;

public interface NccBasicDeptService
{
    /**
     * NCC部门
     */

    void updateNccBasicDeptJob(String all);

    /**
     * 分页查询部门信息
     *
     * @Author wangzhichao
     * @Date 2024/12/09 13:19:17
     * @Param dto
     */
    List<?> findNccBasicDeptData(NccBasicDeptDto dto);

    /**
     * 根据pkDept修改部门状态
     *
     * @Author wangzhichao
     * @Date 2024/12/09 13:34:53
     * @Param status
     * @Param pkDept
     */
    AjaxResult nccBasicDeptEnableStatusUpdate(String status, String code);

    /**
     * 根据code修改部门信息
     *
     * @Author wangzhichao
     * @Date 2024/12/09 13:44:18
     * @Param entity
     */
    AjaxResult nccBasicDeptDataUpdate(NccBasicDept entity);

    /**
     * 新增部门信息
     *
     * @Author wangzhichao
     * @Date 2024/12/10 08:54:53
     * @Param entity
     */
    AjaxResult nccBasicDeptSave(NccBasicDept entity);

    R findDeptListByName(String name);

    R jobMethodExecute(Boolean flag);
}
